<?php
require_once ROOT .'raku/controller/Controller.php';

class AppController extends Controller{
	var $_defaultAction = 'index';

	function renderView($cover_file, $content_file='')
	{
		$form = $this->getForm();
		require_once ROOT .'raku/view/View.php';
		$view = new View($cover_file, $content_file);
		$view->render($form);
	}

	function getDefaultAction() {
		return $this->_defaultAction;
	}
}
